package com.easyShop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "NextPage1对象", description="商品属性参数表")
public class NextPage1 implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "产品属性分类ID")
    private Long productAttributeCategoryId;

    @ApiModelProperty(value = "属性名称")
    private String name;

    @ApiModelProperty(value = "属性选择类型")
    private String selectType;

    @ApiModelProperty(value = "属性录入方式")
    private String inputType;

    @ApiModelProperty(value = "可选值列表")
    private String inputList;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "属性的类型；0->规格；1->参数")
    private Integer type;
}